<template>
	<div id="contentBox">
		
		<div id="tableBox" style="margin:25px 25px 0;" >
			<el-table :data="tableData.data" border  >
			    <el-table-column label="订单号" width="120" fixed>
			      <template scope="scope">
			        <span >{{ scope.row.orderNumber }}</span>
			      </template>
			    </el-table-column>
			    <el-table-column label="经销商名称" width='250' fixed :show-overflow-tooltip="true">
			      <template scope="scope">
			        <span >{{ scope.row.dealerName }}</span>
			      </template>
			    </el-table-column>
			    <el-table-column label="汽车车型" :min-width='300'  :show-overflow-tooltip="true">
			      <template scope="scope">
			        <span >{{ scope.row.carBrandNameAndCarName }}</span>
			      </template>
			    </el-table-column>
			    <el-table-column label="垫资金额" width="100">
			      <template scope="scope">
			        <span >{{ scope.row.paymentAmount | toFixed2 }}</span>
			      </template>
			    </el-table-column>
			    <el-table-column label="订单状态" width="100">
			      <template scope="scope">
			      	<span  v-for="(index, item) in scope.row.statusVO" :key='index' >{{ item }}</span>
			        
			      </template>
			    </el-table-column>
			    <el-table-column label="价格审核状态" width="110">
			      <template scope="scope">
			        <span  v-for="(index, item) in scope.row.priceStatusVO" :key='index' >{{ item }}</span>
			      </template>
			    </el-table-column>
                 <el-table-column label="申请时间" width="155">
			      <template scope="scope">
			        <span >{{ scope.row.addTime }}</span>
			      </template>
			    </el-table-column>
			     <el-table-column label="审核人" width="60">
			      <template scope="scope">
			        <span >{{ scope.row.firstExamineResultName }}</span>
			      </template>
			    </el-table-column>
			     <el-table-column label="审核时间" width="155">
			      <template scope="scope">
			        <span >{{ scope.row.firstExamineResultTime }}</span>
			      </template>
			    </el-table-column>

			    <el-table-column label="操作" width="130" fixed="right">
			      <template scope="scope">
			      	<el-button  type="primary"  size="small" @click="handleEdit(scope.$index, scope.row)">初审</el-button>
			      	<el-button type="success" size="small" @click="handleSee(scope.$index, scope.row)">查看</el-button>
			      </template>
			    </el-table-column>
			</el-table>
            <el-dialog  v-if="dialogFormVisible.bool" title="初审管理" :visible.sync="dialogFormVisible.bool"  :lock-scroll='false' top=5% :close-on-click-modal="false" :closeOnPressEscape="false" v-dialogDrag>
				<dialogForm v-bind:dialogFormVisible="dialogFormVisible" :query="query" :isAdd="isAdd" :tableData="tableData" :carOrderId="carOrderId" v-on:refreshTableData="seachData"></dialogForm>
				
			</el-dialog>
	    </div>
	    <div class="block" style="text-align: center;margin-top: 15px;">
	    	<pagination  v-on:refreshSeachData="seachData"  :tableData="tableData" :searchForm="searchForm"></pagination>
		    
		</div>
	</div>
</template>

<script src="./index.js">
    
</script>
<style scoped lang="stylus" rel="styleheet/stylus">
	@import './index.styl';
</style>

